package com.wq.server.impl;

import com.wq.dao.UserDao;
import com.wq.dao.impl.UserDaoImpl;
import com.wq.server.UserServer;

public class UserServerImpl1 implements UserServer {
    String name;
    String address;
    @Override
    public void money(double money) {
        UserDao dao=new UserDaoImpl();
        dao.UserAcc(money);
        System.out.println("--------------------");
        System.out.println("name:"+name+"adress:"+address);
    }

    public UserServerImpl1(String name,String address) {
        this.name=name;
        this.address=address;
    }
}
